Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Frame Manipulation Functions /


JMSetFrameVisibility

Assigns Mac OS window visibility properties to a frame.

OSStatus JMSetFrameVisibility (
                     JMFrameRef frame, 
                     GrafPtr framePort, 
                     Point frameOrigin, 
                     const RgnHandle frameClip);
frame
The frame whose visibility you want to set.
framePort
The graphics port to assign to the frame.
frameOrigin
The location of the frame's origin, in global coordinates.
frameClip
The clipping region for the frame.
function result
A result code; see "JManager Result Codes".
DISCUSSION
You use the JMSetFrameVisibility function to pass Mac OS window visibility elements to the abstract frame. For example, if the user moves the window associated with the frame (by dragging or scrolling), you must update the frame's visibility by passing the new position of the frame in JMSetFrameVisibility.

SEE ALSO
"Displaying Frames".

Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997